package com.huluobo.a2109mouthdemo.chat;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.huluobo.a2109mouthdemo.R;

public class ChatActivity extends AppCompatActivity {

    private ChatFragment chatFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chat);
        chatFragment = new ChatFragment();
        chatFragment.setArguments(getIntent().getExtras());
        getSupportFragmentManager().beginTransaction().add(R.id.chat_container, chatFragment).commit();
    }
}